.tab-panel {
  position: fixed;
  top: 44px;
  left: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  padding: 12px 15px;

  .panel {
    height: 36px;
    border-radius: 4px;
    background: #f2f2f2;
    display: flex;

    .item {
      width: 50%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      font-weight: 400;
      color: #8a8a99;
    }

    .on {
      background: #ff8020;
      border-radius: 4px;
      color: #ffffff;
    }
  }
}

.discount-panel {
  height: calc(100% - 104px);
  margin: 104px 0 0;
  padding: 20px 15px;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;

  .item {
    height: 88px;
    display: flex;
    margin-bottom: 10px;
    background: #ff8020;
    border-radius: 16px;

    .panel {
      box-shadow: 0px 10px 30px 0px rgba(225, 126, 95, 0.1);

      height: 100%;
      flex: 1;
      padding: 10px 15px;
      box-sizing: border-box;
      color: #fff;

      .top {
        display: flex;

        .money {
          min-width: 66px;
          font-size: 34px;
          text-align: center;
          //margin-right: 10px;
          font-family: Arial, Helvetica, sans-serif;

          span {
            font-size: 20px;
            vertical-align: 0;
            margin: 0 2px 0 0;
          }
        }

        .content {
          flex: 1;
          font-size: 14px;
        }
      }
    }

    .status {
      width: 105px;
      height: 100%;
      display: flex;
      align-items: center;

      .btns {
        width: 90px;
        height: 36px;
        background: rgba(255, 255, 255, 0.3);
        box-shadow: inset 1px 1px 2px 0px rgba(255, 255, 255, 0.7),
          inset -1px -1px 2px 0px rgba(169, 38, 34, 0.14);
        border-radius: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 400;
        color: #ffffff;
      }
    }
  }
}

.disabled {
  background: #959595 !important;

  .btns {
    background: #ffffff !important;
    color: #323233 !important;
  }
}

.gift-panel {
  margin: 15px 15px 0;
  background: #ffffff;
  border-radius: 8px;
  padding: 0 12px;

  .title {
    height: 44px;
    line-height: 44px;
    font-size: 15px;
    font-weight: 600;
    color: #323233;
    border-bottom: 1px solid #e6e6e6;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .list {
    padding: 0 0 2px;

    .item {
      padding: 10px 0;
      box-sizing: border-box;
      display: flex;
      border-bottom: 1px solid #e6e6e6;
      height: 78px;

      .icon {
        width: 68px;

        img {
          width: 58px;
          height: 58px;
        }
      }

      .content {
        width: calc(100% - 64px);

        .name {
          font-size: 14px;
          font-weight: 400;
          color: #323233;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }

        .tips {
          margin: 5px 0 0;
          font-size: 11px;
          color: #606066;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }

        .date {
          color: #606066;
        }
        .num {
          font-size: 14px;
          font-weight: 500;
          color: #f0322b;
        }
      }

      .btns {
        width: 56px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        text-align: right;

        .option {
          width: 56px;
          height: 26px;
          background: #ff8020;
          border-radius: 36px;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 14px;
          font-weight: 400;
          color: #ffffff;
        }

        .style-1 {
          background: #606066 !important;
        }

        .style-2 {
          color: #8a8a99 !important;
          background: #e6e6e6 !important;
        }
      }

      &:last-child {
        border: none;
      }
    }
  }
}

.coupon-panel {
  margin: 15px;
  background: #fff;
  border-radius: 4px;
  padding: 0 15px 5px;

  .title {
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #323233;
  }

  .discount-panel {
    margin: 0;
    padding: 0;
  }
}

.activity-panel {
  margin: 15px 15px 0;
  background: #ffffff;
  border-radius: 8px;
  padding: 0 12px;

  .title {
    height: 44px;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #323233;
    border-bottom: 1px solid #e6e6e6;
  }

  .list {
    padding: 0 0 2px;

    .item {
      padding: 10px 0;
      box-sizing: border-box;
      display: flex;
      border-bottom: 1px solid #e6e6e6;
      height: 50px;
      align-items: center;

      .name {
        width: calc(100% - 65px);
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        padding: 0 10px 0 0;
        font-size: 14px;
        font-weight: 600;
        color: #323233;
        box-sizing: border-box;
      }

      .btns {
        width: 65px;

        .option {
          width: 100%;
          height: 30px;
          border: 1px solid #ff9305;
          border-radius: 36px;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 12px;
          font-weight: 400;
          color: #ff8020;
        }

        .style-1 {
          border: 1px solid #e6e6e6 !important;
          background: #e6e6e6 !important;
          color: #606066 !important;
        }

        .style-2 {
          border: 1px solid #ff8020 !important;
          background: #ff8020 !important;
          color: #fff !important;
        }
      }

      &:last-child {
        border: none;
      }
    }
  }
}

.actity-detail {
  margin: 44px 0 0;
  height: calc(100% - 44px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 15px;
  box-sizing: border-box;

  .date {
    display: flex;
    font-size: 15px;
    font-weight: 600;
    color: #323233;
    background: #fff;
    height: 48px;
    align-items: center;
    padding: 0 12px;
    border-radius: 4px;

    .name {
      width: 80px;
    }

    .info {
      flex: 1;
    }
  }

  .content {
    min-height: 240px;
    background: #fff;
    border-radius: 4px;
    margin: 15px 0;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #323233;

    .title {
      margin-bottom: 12px;
    }
  }

  .form-btns {
    width: 170px;
    margin: 0 auto 20px;
  }
}

.pt15 {
  padding-bottom: 15px;
}
